package com.rbac.service.impl;

import com.rbac.entity.vo.SysRoleVo;
import com.rbac.service.SysRoleService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

@Service
public class SysRoleServiceImpl  implements SysRoleService {
    @Override
    public List<SysRoleVo> selectByUserId(Long id) {
        List<SysRoleVo> sysRoleVos = new ArrayList<>();
        SysRoleVo sysRoleVo = new SysRoleVo();
        sysRoleVo.setEnabled(true);
        sysRoleVo.setId(1L);
        sysRoleVo.setName("超级管理员");
        sysRoleVos.add(sysRoleVo);
        return sysRoleVos;
    }
}
